import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import MySwiper from './components/MySwiper.vue'
import MyTest from './components/MyTest.vue'
import axios from 'axios'
import router from './router'
import store from './store'

const app = createApp(App)
app.component('my-swiper',MySwiper)
app.component('my-test',MyTest)
axios.defaults.baseURL = 'http://api.com'
app.config.globalProperties.$http = axios
app.use(router)
app.use(store)
app.mount('#app')
